package com.guigu.ababa.ababaclassroom.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guigu.ababa.ababaclassroom.entity.Ab_lecturer;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;


@Repository
public interface Ab_lecturerMapper extends BaseMapper<Ab_lecturer> {

    @Select("select * from ab_lecturer where userid =#{id}")
    Ab_lecturer SelectoneId(int userid);
}
